package com.yibao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * @author: yibao
 * @create: 2024-06-14 16:37
 */
@SpringBootApplication
@MapperScan("com.yibao.mapper")
@EnableCaching //开启Spring缓存 使用默认JVM内存有需要可配置为Redis
public class BootDemo {
    public static void main(String[] args) {
        SpringApplication.run(BootDemo.class);
    }
}
